package example.questionText.matcher;

import com.coderside.core.base.Matcher;
import com.coderside.core.util.ParseUtil;

/**
*auto create by Build Tool
**/
public class ItemsMatcher implements Matcher {
	public String fetch(String content) {
		String regexChoice = "[a-z][\\.|、|．]";
		String[] rse = ParseUtil.splitString(regexChoice, content);
		String restr = "";
		for (int i = 0; i < rse.length; i++) {
			restr += rse[i];
		}
		return restr;
	}

	public boolean match(String content) {
		String regexChoice = "[a-z][\\.|、|．]";
		return ParseUtil.matcherReg(regexChoice, content);
	}

	public char getType() {
		return example.questionText.QuestionBeanHelper.ITEMS;
	}
}
